package org.hsieh.tr.explore.exception;

import java.sql.SQLException;

public class SqlCommandExecuteException extends Exception {
    
    private static final long serialVersionUID = -1332997815376676704L;
    private final String sqlExpression;

    public String getSqlExpression() {
        return sqlExpression;
    }

    public SqlCommandExecuteException(final String sqlExpression,
	    SQLException exception) {
	super(exception.getMessage(), exception);
	this.sqlExpression = sqlExpression;
    }

}
